#include "vnc_thread.h"
#include "bridget_communicator.h"
#include <ADCM_Computer.h>
#include "ResultFormatter.h"

class MyCustomThread : public VNC_Thread
{
public:
	MyCustomThread(ResultFormatter& resFormatter, ADCM_Computer& adcmComputer, wstring& user,
					wstring& password, wstring& domain, bool isLocal);
					
	DWORD Run(LPVOID arg);
	void setExit(bool va)
	{
		_exit = va;
	}

	bool getExit()
	{
		return _exit;
	}
	
	

private:
	ADCM_Computer&  _adcmComputer;
	wstring& _user;
	wstring& _password;
	wstring& _domain;
	bool _isLocal;
	bool _exit ;
	
	ResultFormatter& _resFormatter;
};